home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / incoming / jstools-.6v3 / jstools- / jstools-tk3.6v3.0 / lib / jdoc / jstools.jdoc < prev    next >
Encoding:
Text File  |  1995-03-14  |  12.3 KB  |  84 lines

  1. {The jstools Application Suite
  2.  
  3. Introduction
  4. The jstools package is a suite of applications based on a common set of libraries.  The applications share a set of libraries, so they have a consistent look¡and¡feel.  They are extensively customisable, both through startup scripts and through a preferences mechanism.  They are written in wish(1), an X Windows scripting language based on the Tk toolkit and the Tcl scripting library (all three by John Ousterhout of Sun Microsystems).
  5.  
  6. This document describes version 3.6/3.0 of the jstools package.
  7.  
  8. Compatibility
  9. Version 3.6/3.0 of the libraries is compatible with Tk 3.6p1 and Tcl 7.3; it may work properly with other versions, but then again, it might not.
  10.  
  11. There's a bug in unpatched Tk 3.6 that causes wish(1) to die with a core dump under certain circumstances; you should apply the official patch to Tk, which is available with the Tk sources on the official Tk distribution sites.
  12.  
  13. There were focus¡related bugs in Tk 4.0b2 (the second beta release) which caused the jstools applications (and some others) to crash frequently; later versions of Tk probably will not suffer from this problem.
  14.  
  15. Applications
  16. The jstools package currently includes the following chief applications:
  17.  
  18. jabbrevs - an abbreviation manager (used by jedit)
  19. jbrowser - a directory browser
  20. jdoc - a documentation viewer, which you are presumably using to read this
  21. jedit - a multi¡mode, multi¡window text editor
  22. jmore - a file viewer, essentially a graphical analogue to more(1)
  23. jprefs - a tool to set preferences shared by the jstools applications
  24.  
  25. The jedit editor can also be embedded in other Tk applications (and jmore and jprefs are really just wrappers around library procedures, so they can as well).  I hope to add this capability to the other applications in the future.
  26.  
  27. There are also a few toy or demonstration applications distributed as part of jstools. Some of these are applications that aren't yet robust or functional enough to be considered production¡quality, but which I intend to further develop; others are simply proof¡of¡concept or special¡purpose hacks.  These include:
  28.  
  29. jcalendar - a tool to edit and print calendar data in xcalendar(1) format
  30. jhotlist - a tool to manage NCSA Mosaic (version 2.4 or earlier) hotlists
  31. jlaunchpad - a menu of applications and remote hosts, similar to SGI's toolchest.
  32. jmsgs - a graphical analogue to the Berkeley msgs(1) command
  33. jnewbrowser - a preview of the appearance of the next version of jbrowser
  34. jpeople - an address¡list and email alias manager
  35. jperson - a command¡line interface to the jpeople database
  36.  
  37. Also, the jhelp application is distributed for backwards¡compatibility with the documentation format I used in previous releases of jstools, although the documentation for this release is in jdoc format.
  38.  
  39. Usage
  40. Assuming jstools has been installed normally at your site, you shouldn't need to do anything special to use the applications, beyond making sure they're in your PATH.  However, you can set the environment variable JSTOOLS_LIB to specify the directory that holds the jstools libraries.  (This is normally /usr/local/jstools/lib or a location chosen by the person who installed jstools at your site.)  You may want to do this if you have jstools in your own home directory for personal use, or to test jstools out before installing it.
  41.  
  42. For information about installing jstools, see XXX SOME DOC XXX.  For specific information on using or invoking particular applications, see the documentation for the individual application (referenced above under Applications).
  43. (here I'd talk about setting JSTOOLS_LIB and your path.  maybe installation)
  44.  
  45. Credits and Copyright
  46. Author
  47. Jay Sekora 
  48. js@bu.edu
  49. http://shore.net/~js/
  50.  
  51. Copyright
  52. The jstools distribution (applications, libraries, and support files) is copyright ⌐ 1992-1994 by Jay Sekora, but may be freely copied and modified for non¡commercial purposes.  (Please contact me if you want to use it for a commercial purpose, this may be OK under some circumstances.)
  53.  
  54. Thanks
  55. Most importantly, I'd like to thank John Ousterhout <ouster@tcl.eng.sun.com>, the author of Tk and Tcl, for providing such a wonderful, robust, simple language for writing X Windows applications, and the Tcl community which has helped extend Tk and Tcl without forcing them to succumb to feature bloat.
  56.  
  57. In many places in the libraries, I've borrowed code from other people (with permission); they're mentioned in the documentation files for the individual libraries and in comments in the code itself.
  58.  
  59. Preferences
  60. The jstools applications (and other applications written with the jstools libraries) share a set of global preferences.  These preferences can be set from within jstools applications through the Global Preferences panel, or with the jprefs application, (which is just a wrapper around the Global Preferences panel).  Most jstools applications also provide application¡specific preferences which can be set with an application¡specific preferences panel.
  61.  
  62. Global preferences are saved in the file ~/.tk/defaults, which is in the standard X Windows resource format.  (For more information on this format, see X(1), particularly the section RESOURCES, and option(n), particularly the section on option readfile.)  Most jstools applications save their application¡specific preferences in the same format in the file ~/.tk/application-defaults, where application is the name of the particular application, but some may save them someplace else and/or in some other format.
  63.  
  64. Evolution
  65. Feel free to report bugs (and feature requests) to me, <js@bu.edu>, and I will try to deal with them.  Also, feel free to fix bugs or add features on your own and let me know how you did it.
  66.  
  67. Changes
  68. The jstools package has changed extensively since version 3.6/2.0.  One significant change is that the libraries are now all autoloaded, rather than being explicitly sourced.  Another major change is that a lot of the application¡specific code in jedit and jdoc (nΘ jhelp) has moved into libraries.  (This improves start¡up time, and improves the modularity of the applications.  It also makes it easier to share code among applications, and in the case of jedit it makes the functionality of the application embeddable in other Tk¡based applications without starting a separate process.)
  69.  
  70. The keybindings have been improved, and the vi keybindings are new.
  71.  
  72. Future Directions
  73. * I intend to move more code from other applications into separate libraries.
  74.  
  75. * I intend to make jdoc (at least, and perhaps other applications as well) embeddable.
  76.  
  77. * I hope to overhaul the Preferences mechanism.  I'd like to have some system similar to that in Brent Welch's exmh application, where preferences are organised into categories.  I'd like a central preference panel to list the categories, and for each application to be able to add categories, instead of having separate global and application¡specific panels.  Also,  I'd like to add an interface for editing all the standard Tk appearance resources, as described in options(n), so users don't have to edit defaults files by hand to adjust fonts, colours, relief options, etc.
  78.  
  79. * I'd like to add a notecard¡browser application, for typing and searching through lots of short notes - an electronic card file.
  80.  
  81. * I'd like to add a basic sketching program.  (It would be nice if drawings created by it could be included in jedit documents.)
  82.  
  83. * I'd like to have some of the applications dynamically communicate among each other.  For instance, as soon as you add an abbreviation with jabbrevs, it should be available in all your jedit sessions.  Global preferences you change in one application should be reflected in all your running jstools applications.  And perhaps various applications could communicate among each other to decide where to put their windows, so windows overlap as little as possible.
  84. } {{{display:foreground:gold {43.0 44.0}} {display:background:red {43.0 44.0}} {display:background:Red {42.46 42.62}} {display:foreground:Yellow {42.46 42.62}} {jdoc:xref:link {4.107 4.125 4.245 4.268 18.0 18.8 18.44 18.49 19.0 19.8 20.0 20.4 21.0 21.5 22.0 22.5 23.0 23.6 23.23 23.69 25.4 25.9 25.29 25.37 25.68 25.73 25.78 25.84 37.191 37.195 40.262 40.283 42.213 42.225 45.21 46.0 60.62 60.83 60.100 60.118 60.191 60.219 60.233 60.239 68.99 68.112 68.247 68.252 68.257 68.261 68.457 68.462 75.19 75.23 77.21 77.46 81.111 81.116 83.141 83.149 83.186 83.191}} {jdoc:xref:manpage {4.291 4.295 11.46 11.50 22.59 22.63 29.54 29.63 32.45 32.49 62.152 62.153 62.198 62.204 77.468 77.475}} {jdoc:anchor:anchorname {3.0 4.0 15.0 16.0 39.0 40.0 45.0 46.0 59.0 60.0 64.0 65.0 77.0 77.47 83.0 83.85}} {richtext:font:roman {2.0 3.0 4.0 4.4 4.11 4.291 4.295 6.47 6.54 8.0 9.0 9.77 9.80 11.46 11.50 13.85 13.92 15.0 16.0 16.4 16.11 18.0 18.8 18.44 18.49 18.50 19.8 20.0 20.4 21.0 21.5 22.0 22.5 22.59 22.63 23.0 23.6 23.49 23.56 25.4 25.9 25.68 25.73 25.78 25.84 27.78 27.85 29.0 29.9 29.54 29.63 30.0 30.8 31.0 31.10 31.71 31.80 32.0 32.5 32.45 32.49 33.0 33.11 33.65 33.73 34.0 34.7 35.0 35.7 35.42 35.49 37.10 37.15 37.132 37.139 37.191 37.195 39.0 40.0 40.9 40.16 40.161 40.165 40.214 40.225 40.266 40.273 40.304 40.326 40.376 40.383 40.436 40.443 40.500 40.507 42.33 42.40 42.46 42.62 42.213 42.225 45.0 46.6 48.0 48.9 49.0 49.21 51.0 51.9 52.4 52.11 54.0 54.6 55.52 55.76 59.0 60.0 60.4 60.11 60.66 60.73 60.162 60.169 60.233 60.239 60.322 60.329 62.41 62.55 62.152 62.153 62.183 62.192 62.198 62.204 62.237 62.252 62.261 62.268 62.357 62.383 62.391 62.402 64.0 65.0 65.55 65.66 67.0 67.7 68.4 68.11 68.247 68.252 68.257 68.261 68.266 68.271 68.457 68.462 70.44 70.46 72.0 72.17 75.19 75.23 77.111 77.115 77.468 77.475 81.111 81.116 83.141 83.149 83.186 83.191 83.292 83.299 84.0}} {richtext:font:italic {9.77 9.80 62.391 62.402}} {richtext:font:bold {4.4 4.11 6.47 6.54 13.85 13.92 16.4 16.11 23.49 23.56 27.78 27.85 33.65 33.73 37.132 37.139 40.9 40.16 40.266 40.273 40.304 40.326 40.376 40.383 40.436 40.443 40.500 40.507 42.33 42.40 42.46 42.62 52.4 52.11 60.4 60.11 60.66 60.73 60.162 60.169 60.322 60.329 62.41 62.55 62.183 62.192 62.261 62.268 62.357 62.363 62.374 62.383 68.4 68.11 83.292 83.299}} {richtext:font:bolditalic {42.213 42.225 62.363 62.374}} {richtext:font:typewriter {4.291 4.295 11.46 11.50 18.0 18.8 18.44 18.49 18.50 19.8 20.0 20.4 21.0 21.5 22.0 22.5 22.59 22.63 23.0 23.6 25.4 25.9 25.68 25.73 25.78 25.84 29.0 29.9 29.54 29.63 30.0 30.8 31.0 31.10 31.71 31.80 32.0 32.5 32.45 32.49 33.0 33.11 34.0 34.7 35.0 35.7 35.42 35.49 37.10 37.15 37.191 37.195 40.161 40.165 40.214 40.225 48.0 48.9 49.0 49.21 55.52 55.76 60.233 60.239 62.152 62.153 62.198 62.204 62.237 62.252 65.55 65.66 68.247 68.252 68.257 68.261 68.266 68.271 68.457 68.462 70.44 70.46 75.19 75.23 77.111 77.115 77.468 77.475 81.111 81.116 83.141 83.149 83.186 83.191}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {3.0 4.0 15.0 16.0 39.0 40.0 45.0 46.0 59.0 60.0 64.0 65.0}} {richtext:font:heading2 {8.0 9.0 46.0 46.6 51.0 51.9 54.0 54.6 67.0 67.7 72.0 72.17}} {jdoc:manpage:more {22.59 22.63}} {jdoc:manpage:xcalendar {29.54 29.63}} {jdoc:manpage:msgs {32.45 32.49}} {jdoc:link:#Preferences {4.245 4.268 77.21 77.46}} {jdoc:anchorname:Applications {15.0 16.0}} {jdoc:anchorname:Introduction {3.0 4.0}} {jdoc:link:jslibraries.jdoc {4.107 4.125 40.262 40.283 60.62 60.83 68.99 68.112}} {jdoc:link:jabbrevs.jdoc {18.0 18.8 83.141 83.149}} {jdoc:link:jbrowser.jdoc {19.0 19.8}} {jdoc:link:jdoc.jdoc {20.0 20.4 37.191 37.195 68.257 68.261 75.19 75.23}} {jdoc:link:jedit.jdoc {18.44 18.49 21.0 21.5 25.4 25.9 68.247 68.252 68.457 68.462 81.111 81.116 83.186 83.191}} {jdoc:link:jmore.jdoc {22.0 22.5 25.68 25.73}} {jdoc:link:jprefs.jdoc {23.0 23.6 25.78 25.84 60.233 60.239}} {jdoc:anchorname:Usage {39.0 40.0}} {jdoc:anchorname:Preferences {59.0 60.0}} {jdoc:manpage:option {62.198 62.204}} {jdoc:manpage:X {62.152 62.153}} {jdoc:manpage:options {77.468 77.475}} {jdoc:link:#Applications {42.213 42.225}} {jdoc:anchorname:Evolution {64.0 65.0}} {jdoc:manpage:wish {4.291 4.295 11.46 11.50}} {jdoc:anchorname:Preferences_futures {77.0 77.47}} {jdoc:anchorname:interapplication_communication {83.0 83.85}} {jdoc:link:panels/prefs.jdoc {23.23 23.69 60.100 60.118 60.191 60.219}} {jdoc:link:Credits_and_Copyright.jdoc {45.21 46.0}} {jdoc:anchorname:Credits_and_Copyright {45.0 46.0}} {jdoc:link:jedit_prog.jdoc#Embedding_jedit_in_Other_Applications {25.29 25.37}}} {{abbrevstart 30.73} {matchend 63.0} {abbrevend 30.73} {insert 1.0} {anchor 1.0} {matchstart 63.0} {emacs_mark 84.0} {current 1.25}}}